package com.lucher.mes.dao;

import java.util.List;

import com.lucher.mes.po.Worklinesection;

public interface WorklinesectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Worklinesection record);

    int insertSelective(Worklinesection record);

    Worklinesection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Worklinesection record);

    int updateByPrimaryKey(Worklinesection record);
    
    //自定义接口
    List<Worklinesection> findByList(Worklinesection record);
    List<Worklinesection> findByListForPage(Worklinesection record);
    int findByCount(Worklinesection record);
	Worklinesection findByLinecodeAndSectioncode(Worklinesection record);
	int deleteByLinecode(Worklinesection record);
	int deleteBySectioncode(String sectioncode);
}